package com.pactera.asmp.server.service;

import java.util.List;

import com.pactera.asmp.server.entity.ConstantInfoDTO;
import com.pactera.asmp.server.entity.ConstantInfoSearchDTO;
import com.pactera.asmp.server.pojo.ConstantInfo;
import com.pactera.asmp.server.pojo.ScriptInfo2;
import com.pactera.asmp.server.utils.PageDataResult;

public interface IConstantInfoService {

    PageDataResult select(ConstantInfoSearchDTO constantInfoSearchDTO);

    boolean delete(List<Long> datas);

    ConstantInfoDTO insert(ConstantInfoDTO constantInfoDTO);

    boolean update(ConstantInfo constantInfo);

    List<ScriptInfo2> selectRelScpritList(Long constantId);

    int updateConstantServiceStatus(List<Long> datas, Integer serviceStatus);

}
